package com.example.blogsystemssm.mapper;

import com.example.blogsystemssm.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserMapper {
    public int add(@Param("username") String username,
                   @Param("password") String password);

    public UserInfo login(@Param("username") String username,
                          @Param("password") String password);
}